package vns.client.service;

import java.util.ArrayList;
import java.util.List;

import vns.shared.RuleSetDTO;

import com.google.appengine.api.datastore.Key;
import com.google.gwt.user.client.rpc.AsyncCallback;

public interface RuleSetServiceAsync {

	void Create(RuleSetDTO rulesetDTo, AsyncCallback<RuleSetDTO> callback);

	void Loadall(AsyncCallback<ArrayList<RuleSetDTO>> callback);

	void Loadbyid(Key id, AsyncCallback<RuleSetDTO> callback);

	void Remove(Key id, AsyncCallback<Boolean> callback);

	void Update(RuleSetDTO rulesetDTO, AsyncCallback<RuleSetDTO> callback);

	void Updateall(List<RuleSetDTO> listNew, AsyncCallback<Void> callback);

}
